package com.cn.serverline.lineicp.productionLine.param;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 工段ID参数
 *
 * @author Gmr
 * @since 2024/7/28
 */
@Data
public class WorkSectionIdParam {

	/**
	 * 主键ID
	 */
	@ApiModelProperty(value = "主键ID", required = true)
	@ChineseDescription("主键ID")
	@JsonSerialize(using= ToStringSerializer.class)
	@NotNull(message = "主键ID不能为空")
	private Long id;
}
